<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  <style type="text/css">
		.login{
			background-color:#FFC0CB;
			width: 400px;
			height:auto;
			margin: 0 auto;
			text-align: center;
			margin-top:100px;
			line-height: 40px;
		}
		.btn{
			width: 100px;
			height: 30px;
			line-height:30px;
			font-size: 16px;
			background-color: #FF7F50;
			border: none;
			color:white;
		}
	  table,table tr th, table tr td { border_bottom:1px solid #0094ff; }
        table { width: 400px; min-height: 45px; line-height: 45px; text-align: center; border-collapse: collapse;}
	</style>
  <body>
    <div class="login">
	   <table style="text-align: center;">
   		<th style="text-align: center;" colspan="7">请修改学生信息&nbsp;&nbsp;<a href="<%=basePath %>list_action" style="display: inline-block;line-height: 5px"><h5>&nbsp;<<&nbsp;返回上一级</h5></a></th>
	   </table>
	   
	   
	   <!-- 添加学生信息form表单 -->
	   <form action="update_action" method="post">
	         学号：<input type="text" name="student.stu_id" id="stu_id" value="${student.stu_id}" readonly="readonly"/></br>
	         姓名：<input type="text" name="student.stu_name" id="stu_name" value="${student.stu_name}" /></br>
	         地址：<input type="text" name="student.stu_address" id="stu_address" value="${student.stu_address}"/></br>
	         年龄：<input type="text" name="student.stu_age" id="stu_age" value="${student.stu_age}"/></br>
	   <div style="margin-left:-94px">
	        性别：<input type="radio" name="student.stu_sex" id="male" value="男" checked="checked"  />男
	        <input type="radio" name="student.stu_sex" id="female" value="女"/>女</br></div>     
	   <input type="submit" name="提交" id="add" value="提交" class="btn" style="margin-top: 10px;margin-bottom: 10px;">
	   </form>
   </div>
  </body>
</html>
